﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace BioBooking.TCPServer
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Starting service");
            try
            {
                ServiceHost serviceHost = new ServiceHost(typeof(Service));
                serviceHost.Open();
                Console.WriteLine("Service started - Press any key to terminate");
                Console.ReadLine();
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
            Console.ReadLine();
        }
    }
}
